package com.cbgolf.oa.contract;

import com.cbgolf.oa.base.IBaseView;
import com.cbgolf.oa.event.EventMenus;
import com.cbgolf.oa.viewbean.OrderBean;
import com.cbgolf.oa.waiter.IBaseWaiter;

/**
 * @author lq
 */
public interface IMainContract {

  interface IMainView extends IBaseView<EventMenus> {

  }

  interface IMainModel {

    void confirmOrder(String orderId, String orderCode);

    void refreshUserInfo();

    void requestMenus(boolean isFirst);

    void requestMsgNoRead();

    void requestFirWayLatlon();

  }

  interface IMainWaiter extends IBaseWaiter {

    void reload();

    void onClickModifyPwd();

    void onClickMenu(int index);

    //    void showUserInfo();
    void onClickMsg();

    void onClickQrCode();

    void quitOA();

    void showOrderDetails(OrderBean bean);
  }

  interface IMainPresenter {

    void refreshAll(boolean isOnce);
    void confirmOrder(String orderId, String orderCode);

  }
}
